package com.qf.mybatis.entity;

import java.io.Serializable;

/**
 * @author 郑大仙丶
 * @version 1.0
 * @date 2021/3/16 11:43
 */
public class User implements Serializable {

    // 以后实体类的类型，全部使用包装类

    private Integer id;

    private String name;

    private Integer userAge;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", userAge=" + userAge +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }
}
